# Config file for the CommonAPI package
# Exports the follwing targets:
#   CommonAPI - CMake target for CommonAPI SomeIP
# Additionally, the following variables are defined:
#   COMMONAPI_VERSION - The CommonAPI version number

# Compute paths
get_filename_component(COMMONAPI_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)

# Our library dependencies (contains definitions for IMPORTED targets)
include("${COMMONAPI_CMAKE_DIR}/CommonAPITargets.cmake")

# Legacy variable, kept for compatibility
get_target_property(COMMONAPI_INCLUDE_DIRS CommonAPI INTERFACE_INCLUDE_DIRECTORIES)

set(COMMONAPI_VERSION @PACKAGE_VERSION@)
set(COMMONAPI_VERSION_STRING "@PACKAGE_VERSION@")
